<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>浮动&定位</title>
    <style>
        body {
            background-image: url('sf.png');
            background-size: 1400px 800px;
            background-position: center;
            display: flex;
            justify-content: center;
            align-items: flex-start;
            height: 100vh;
            margin: 0;
        }
        .container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: flex-end;
            width: 80%;
            height: 100%;
        }
        .block {
            width: 80px;
            height: 60px;
            background-color: rgba(0, 0, 0, 0.7);
            color: white;
            display: flex;
            align-items: center;
            margin: 0px;
            transition: background-color 0.3s;
        }
        .block:hover {
            background-color: white;
            color: black;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="block">查询快递</div>
        <div class="block">查询快递</div>
        <div class="block">查询快递</div>
        <div class="block">查询快递</div>
        <div class="block">查询快递</div>
        <div class="block">查询快递</div>
    </div>
</body>
</html>